import QtQuick
import QtQml.StateMachine as SM

import "./gameStatePrivate"

SM.StateMachine{
    id:root

    running: true
    initialState: rootState

    //状态转换

    property alias initState: initState
    property alias playerRoundState:playerRound
    property alias dealerRoundState:dealerRound
    property alias droperState:droperState




    SM.State{
        id:rootState

        initialState: initState

        SM.State{
            id:initState
        }

        PlayerRound{
            id:playerRound
        }

        PlayerRound{
            id:dealerRound
        }

        DroperState{
            id:droperState
        }

    }
}
